package com.the4man.cnbdw.service.impl;

import com.the4man.cnbdw.dao.EmployeeLocaltionHistoryMapper;
import com.the4man.cnbdw.service.AbstractService;
import com.the4man.cnbdw.service.EmployeeLocaltionHistoryService;
import com.the4man.framework.model.EmployeeLocaltionHistory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by lenovo on 2017/12/12.
 */
@Service("EmployeeLocaltionHistoryService")
public class EmployeeLocaltionHistoryServiceImpl extends AbstractService<EmployeeLocaltionHistory> implements EmployeeLocaltionHistoryService {
    @Autowired
    private EmployeeLocaltionHistoryMapper employeeLocaltionHistoryMapper;

    public EmployeeLocaltionHistoryServiceImpl() {
    }

    public List<EmployeeLocaltionHistory> selectByTime() {
        return this.employeeLocaltionHistoryMapper.selectByTime();
    }

    public List<EmployeeLocaltionHistory> selectDeviceMac(String deviceMac) {
        return this.employeeLocaltionHistoryMapper.selectDeviceMac(deviceMac);
    }
}
